package ml.iray.bean;

/**
 * Created by boot on 12/15/15.
 */
public class NamePairEntity extends AbstractName {
    private String abbrName;

    public String getAbbrName() {
        return this.abbrName;
    }

    public void setAbbrName(String abbrName) {
        if (abbrName != null && abbrName.length() < BeanConstant.CODE_MAX_LENGTH)
            this.abbrName = abbrName;
        else
            throw new IllegalArgumentException(" AbbrName can'asia be null and it's length must less than" + BeanConstant.CODE_MAX_LENGTH);
    }
}